home *** CD-ROM | disk | FTP | other *** search
Unknown | 1994-02-01 | 1.0 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| GW-BASIC (document/gwBasic)
| ext
| Supported |
66%
| dexvert
| GFA-BASIC Atari (other/gfaBASICAtari)
| ext
| Supported |
1%
| dexvert
| Amiga BASIC Protected File (other/amigaBASICProtectedFile)
| ext
| Unsupported |
1%
| dexvert
| BAS VBDOS Pro 1.0 Source (other/basVBDOSPro10Source)
| ext
| Unsupported |
1%
| dexvert
| Visual Basic Tokenized Source (other/visualBasicTokenizedSource)
| ext
| Unsupported |
1%
| dexvert
| ZBASIC (other/zbasic)
| ext
| Unsupported |
100%
| file
| data
| default
| |
100%
| TrID
| Z-Code V4 adventure for Infocom Z-Machine
| default (weak)
| |
100%
| ffprobeID
| Electronic Arts cdata (ea_cdata)
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 04 04 00 00 0d 0a 27 20 | 53 70 68 65 72 65 2e 0d |......' |Sphere..|
|00000010| 0a 27 20 55 73 65 20 73 | 69 6e 20 66 75 6e 63 74 |.' Use s|in funct|
|00000020| 69 6f 6e 20 74 6f 20 73 | 69 6d 75 6c 61 74 65 20 |ion to s|imulate |
|00000030| 61 20 73 70 68 65 72 65 | 2e 0d 0a 20 0d 0a 27 20 |a sphere|... ..' |
|00000040| 49 6e 70 75 74 3a 09 31 | 2d 34 2d 38 2d 32 34 20 |Input:.1|-4-8-24 |
|00000050| 62 69 74 0d 0a 27 20 4f | 75 74 70 75 74 3a 09 69 |bit..' O|utput:.i|
|00000060| 64 65 6d 0d 0a 0d 0a 27 | 20 41 75 74 68 6f 72 3a |dem....'| Author:|
|00000070| 09 41 6e 64 72 65 61 20 | 42 65 6e 6f 6e 69 09 09 |.Andrea |Benoni..|
|00000080| 09 20 72 65 76 3a 09 31 | 2e 32 0d 0a 0d 0a 0d 0a |. rev:.1|.2......|
|00000090| 73 74 72 69 6e 67 20 20 | 20 20 09 69 6e 70 46 69 |string | .inpFi|
|000000a0| 6c 65 2c 6f 75 74 46 69 | 6c 65 0d 0a 44 65 76 43 |le,outFi|le..DevC|
|000000b0| 6f 6e 09 49 62 6d 70 0d | 0a 52 47 42 09 70 69 78 |on.Ibmp.|.RGB.pix|
|000000c0| 0d 0a 66 6c 6f 61 74 20 | 20 09 6c 61 74 6f 2c 72 |..float | .lato,r|
|000000d0| 2c 61 2c 78 2c 79 2c 68 | 61 6c 66 2c 70 65 72 2c |,a,x,y,h|alf,per,|
|000000e0| 72 73 2c 72 61 64 0d 0a | 0d 0a 69 6e 70 46 69 6c |rs,rad..|..inpFil|
|000000f0| 65 3d 22 54 65 73 74 69 | 62 6e 2e 62 6d 70 22 09 |e="Testi|bn.bmp".|
|00000100| 09 09 27 20 69 6e 70 75 | 74 20 66 69 6c 65 0d 0a |..' inpu|t file..|
|00000110| 27 69 6e 70 46 69 6c 65 | 3d 22 43 6c 69 70 42 4f |'inpFile|="ClipBO|
|00000120| 41 52 44 22 0d 0a 6f 75 | 74 46 69 6c 65 3d 22 54 |ARD"..ou|tFile="T|
|00000130| 65 73 74 6f 2e 62 6d 70 | 22 09 09 09 27 20 6f 75 |esto.bmp|"...' ou|
|00000140| 74 70 75 74 20 66 69 6c | 65 0d 0a 0d 0a 49 62 6d |tput fil|e....Ibm|
|00000150| 70 3d 4c 6f 61 64 49 6d | 61 67 65 28 69 6e 70 46 |p=LoadIm|age(inpF|
|00000160| 69 6c 65 29 0d 0a 50 72 | 65 76 69 65 77 28 49 62 |ile)..Pr|eview(Ib|
|00000170| 6d 70 2c 22 49 6d 6d 61 | 67 69 6e 65 22 2c 32 2c |mp,"Imma|gine",2,|
|00000180| 35 2c 49 62 6d 70 2e 57 | 69 64 74 68 2b 36 2c 34 |5,Ibmp.W|idth+6,4|
|00000190| 30 30 29 0d 0a 0d 0a 6c | 61 74 6f 3d 6d 69 6e 28 |00)....l|ato=min(|
|000001a0| 49 62 6d 70 2e 57 69 64 | 74 68 2c 49 62 6d 70 2e |Ibmp.Wid|th,Ibmp.|
|000001b0| 48 65 69 67 68 74 29 09 | 09 27 20 63 61 6c 63 20 |Height).|.' calc |
|000001c0| 6d 61 78 20 73 71 75 61 | 72 65 0d 0a 68 61 6c 66 |max squa|re..half|
|000001d0| 3d 6c 61 74 6f 2f 32 0d | 0a 72 61 64 3d 36 2e 32 |=lato/2.|.rad=6.2|
|000001e0| 38 2f 36 30 30 0d 0a 70 | 65 72 3d 6c 61 74 6f 2a |8/600..p|er=lato*|
|000001f0| 30 2e 35 30 0d 0a 0d 0a | 46 6f 72 20 72 3d 30 20 |0.50....|For r=0 |
|00000200| 74 6f 20 68 61 6c 66 0d | 0a 20 20 72 73 3d 73 69 |to half.|. rs=si|
|00000210| 6e 28 31 2e 35 37 2f 70 | 65 72 2a 72 29 2a 70 65 |n(1.57/p|er*r)*pe|
|00000220| 72 0d 0a 20 20 46 6f 72 | 20 61 3d 30 20 74 6f 20 |r.. For| a=0 to |
|00000230| 36 30 30 0d 0a 0d 0a 20 | 20 20 20 78 3d 73 69 6e |600.... | x=sin|
|00000240| 28 72 61 64 2a 61 29 0d | 0a 20 20 20 20 79 3d 63 |(rad*a).|. y=c|
|00000250| 6f 73 28 72 61 64 2a 61 | 29 0d 0a 20 20 20 20 70 |os(rad*a|).. p|
|00000260| 69 78 3d 47 65 74 50 69 | 78 65 6c 20 28 49 62 6d |ix=GetPi|xel (Ibm|
|00000270| 70 2c 78 2a 72 2b 68 61 | 6c 66 2c 79 2a 72 2b 68 |p,x*r+ha|lf,y*r+h|
|00000280| 61 6c 66 29 0d 0a 20 20 | 20 20 53 65 74 50 69 78 |alf).. | SetPix|
|00000290| 65 6c 20 28 49 62 6d 70 | 2c 78 2a 72 73 2f 32 2b |el (Ibmp|,x*rs/2+|
|000002a0| 68 61 6c 66 2c 79 2a 72 | 73 2f 32 2b 68 61 6c 66 |half,y*r|s/2+half|
|000002b0| 2c 70 69 78 29 0d 0a 0d | 0a 20 20 4e 65 78 74 20 |,pix)...|. Next |
|000002c0| 61 0d 0a 20 20 69 66 28 | 72 25 35 3d 30 29 0d 0a |a.. if(|r%5=0)..|
|000002d0| 20 20 20 20 20 27 44 73 | 70 57 68 69 6c 65 28 22 | 'Ds|pWhile("|
|000002e0| 45 6c 61 62 6f 72 61 7a | 69 6f 6e 65 22 2c 31 30 |Elaboraz|ione",10|
|000002f0| 30 2f 68 61 6c 66 2a 72 | 29 0d 0a 20 20 20 20 20 |0/half*r|).. |
|00000300| 50 72 65 76 69 65 77 28 | 49 62 6d 70 2c 22 49 6d |Preview(|Ibmp,"Im|
|00000310| 6d 61 67 69 6e 65 22 2c | 32 2c 35 2c 34 30 30 2c |magine",|2,5,400,|
|00000320| 34 30 30 29 0d 0a 20 20 | 65 6e 64 69 66 0d 0a 4e |400).. |endif..N|
|00000330| 65 78 74 20 72 0d 0a 0d | 0a 70 69 78 2e 4c 75 6d |ext r...|.pix.Lum|
|00000340| 3d 30 0d 0a 46 6f 72 20 | 61 3d 30 20 74 6f 20 31 |=0..For |a=0 to 1|
|00000350| 30 30 30 0d 0a 20 20 20 | 20 78 3d 73 69 6e 28 72 |000.. | x=sin(r|
|00000360| 61 64 2a 61 29 0d 0a 20 | 20 20 20 79 3d 63 6f 73 |ad*a).. | y=cos|
|00000370| 28 72 61 64 2a 61 29 0d | 0a 20 20 20 20 53 65 74 |(rad*a).|. Set|
|00000380| 50 69 78 65 6c 20 28 49 | 62 6d 70 2c 78 2a 72 73 |Pixel (I|bmp,x*rs|
|00000390| 2f 32 2b 68 61 6c 66 2c | 79 2a 72 73 2f 32 2b 68 |/2+half,|y*rs/2+h|
|000003a0| 61 6c 66 2c 70 69 78 29 | 0d 0a 4e 65 78 74 20 61 |alf,pix)|..Next a|
|000003b0| 0d 0a 0d 0a 50 72 65 76 | 69 65 77 28 49 62 6d 70 |....Prev|iew(Ibmp|
|000003c0| 2c 22 49 6d 6d 61 67 69 | 6e 65 22 2c 32 2c 35 2c |,"Immagi|ne",2,5,|
|000003d0| 49 62 6d 70 2e 57 69 64 | 74 68 2b 36 2c 32 33 30 |Ibmp.Wid|th+6,230|
|000003e0| 29 0d 0a 53 61 76 65 49 | 6d 61 67 65 28 49 62 6d |)..SaveI|mage(Ibm|
|000003f0| 70 2c 6f 75 74 46 69 6c | 65 29 0d 0a 44 73 70 4d |p,outFil|e)..DspM|
|00000400| 65 73 28 22 4f 6b 22 29 | |es("Ok")| |
+--------+-------------------------+-------------------------+--------+--------+